/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dahg.project.istu.controller.bean.menu;

import com.dahg.project.istu.controller.model.Menu;
import com.dahg.project.istu.controller.model.Rol;
import com.dahg.project.istu.controller.services.IService;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author dahg
 */
@Local
public interface IMenuService extends IService<Menu>{    
    void addMenu(Rol rol, Menu menu);
    List<Menu> getRootMenu(Rol rol);
    List<Menu> getMenuChilds(Menu parent, Rol rol);
    List<Menu> getMenuChilds(Menu parent);
    List<Menu> getAllMenu();
}
